const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.accounts.token,
  name: state => state.accounts.name,
  username: state => state.accounts.username,
  visitedViews: state => state.tagsView.visitedViews,
  authoritiesCode: state => state.accounts.authoritiesCode,
  permission_routes: state => state.permission.routes,
  cachedViews: state => state.tagsView.cachedViews,
  defaultPage: state => state.settings.defaultPage
}
export default getters
